﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.CMS.Plugins.TemplateGallery
{
    [CmsPlugin(
        Id = "{03645BB0-0EC5-461F-864B-C55074F0074C}",
        Name="Template Gallery",
        Description="Contains templates and add-ons that can be installed into your CMS")]
    public class TemplateGalleryExtension : Plugin, IAutoLoadedPlugin, IDashboardPlugin
    {
        public IEnumerable<DashboardWidget> GetWidgets()
        {
            yield return new DashboardWidget()
            {
                Id = this.Id,
                Title = "Template Gallery",
                Url = "~/Dashboard/TemplateGallery",
                Height = 250
            };
        }
    }
}
